Searched hist:"0 e33661de493db325435d565a4a722120ae4cbf3" (Results 1 – 2 of 2) sorted by path
/linux/include/uapi/linux/ |
H A D | bpf.h | diff 0e33661de493db325435d565a4a722120ae4cbf3 Wed Nov 23 16:52:25 CET 2016 Daniel Mack <daniel@zonque.org> bpf: add new prog type for cgroup socket filtering
This program type is similar to BPF_PROG_TYPE_SOCKET_FILTER, except that it does not allow BPF_LD_[ABS|IND] instructions and hooks up the bpf_skb_load_bytes() helper.
Programs of this type will be attached to cgroups for network filtering and accounting.
Signed-off-by: Daniel Mack <daniel@zonque.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/net/core/ |
H A D | filter.c | diff 0e33661de493db325435d565a4a722120ae4cbf3 Wed Nov 23 16:52:25 CET 2016 Daniel Mack <daniel@zonque.org> bpf: add new prog type for cgroup socket filtering
This program type is similar to BPF_PROG_TYPE_SOCKET_FILTER, except that it does not allow BPF_LD_[ABS|IND] instructions and hooks up the bpf_skb_load_bytes() helper.
Programs of this type will be attached to cgroups for network filtering and accounting.
Signed-off-by: Daniel Mack <daniel@zonque.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|